package com.fuyao.cloud.admin.flow.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Collections;
import java.util.Map;
import java.util.Set;

@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
public class FlowContextInfo extends FlowNodeInfo {
    /**
     * 任务 id
     */
    private String taskId;
    private Set<FlowNodeInfo> nextNodes = Collections.emptySet();
    private boolean hasNext = false;
    private boolean canWithdraw = false;
    private boolean canReject = false;
    private boolean isStartNode = false;
    private Map<String, Object> variables;
}
